
from WebserviceSuds import WebserviceSuds


body = '<?xml version="1.0" encoding = "UTF-8"?>' \
       '<STD_IN>' \
       '<EDI_user>MESUSER</EDI_user>' \
       '<EDI_pwd > MESUPWD</EDI_pwd>' \
       '<ServiceName />' \
       '<OperationCode></OperationCode>' \
       '<ObjectID>ReadZYXX</ObjectID>' \
       '<Service>' \
       '<data>' \
       '<CPH>P50SX</CPH >' \
       '</data>'\
       '</Service >' \
       '</STD_IN>'
MES = '<?xml version="1.0" encoding = "UTF-8"?>' \

if __name__ == '__main__':
    mac ="001122334455"
    mac1 = ""
    for index in range(len(mac)):
           mac1+=mac[index]
           a = index+1
           if a%2==0 and a!=12:
                  mac1 +=":"
    print(mac1)
    # web = WebserviceSuds()
    # web.getDispatch("000")


